CXXFLAGS = -O2

all: Makefile
	cc smjoin/smclock.c -o bin/smclock
	cc smjoin/smjoin.c -o bin/smjoin
	cc smjoin6/smclock6.c -o bin/smclock6
	cc smjoin6/smjoin6.c -o bin/smjoin6
	cc smrec6/smsnd6.c -o bin/smsnd6
	cc smrec6/smrec6.c -o bin/smrec6
	chmod +x bin/*
clean:
	rm -f bin/*
